<!DOCTYPE html>
<html>
<head><meta name="generator" content="Hexo 3.9.0">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <meta name="author" content="挥手の骑士">
    
    
    
    
    
    
    <title>跟上Java8 简捷的文件 | 骑士の物语</title>
    <link href="https://yihuishou.gitee.io" rel="prefetch">

    <link rel="stylesheet" href="/css/bootstrap.min.css">
<link rel="stylesheet" href="/css/aos.css">
<link rel="stylesheet" href="/css/style.css">
    <script src="/js/jquery.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <script src="/js/aos.js"></script>
    <script src="/js/highslide/highslide-full.min.js"></script>
    <link rel="stylesheet" href="/js/highslide/highslide.css">
    <style type="text/css">
        @media (max-width: 768px) {
            body {
                background-color: #f0f0f0;
                background: url('/imgs/xsbg.gif');
                background-attachment: fixed;
            }
        }
    </style>
    
    <!--<script type="text/javascript">
      if (document.images) {
        var avatar = new Image();
        avatar.src = '/imgs/avatar.jpg'
        var previews = 'picHD_1.png,picHD_2.png,picHD_3.png,picHD_4.png,picHD_5.png,picHD_6.png,picHD_7.png,picHD_8.png,picHD_9.png,picHD_10.png,picHD_11.png,picHD_12.png,picHD_13.png,picHD_14.png,picHD_15.png,picHD_16.png,picHD_17.png,picHD_18.png,picHD_19.png,picHD_20.png,picHD_21.png,picHD_22.png,picHD_23.png,picHD_24.png,picHD_25.png,picHD_26.png,picHD_27.png,picHD_28.png,picHD_29.png,picHD_30.png,picHD_31.png,picHD_32.png,picHD_33.png,picHD_34.png,picHD_35.png,picHD_36.png,picHD_37.png,picHD_38.png,picHD_39.png,picHD_40.png,picHD_41.png,picHD_42.png'.split(',')
        var previewsPreLoad = []
        for(var i = 0; i < length; i++) {
          previewsPreLoad.push(new Image())
          previewsPreLoad[previewsPreLoad.length - 1].src = '/imgs/preview' + previews[i]
        }
      }
    </script>-->
</head></html>
<body>
    <!-- 背景轮播图功能 -->
    <section class="hidden-xs">
    <ul class="cb-slideshow">
        <li><span>天若</span></li>
        <li><span>有情</span></li>
        <li><span>天亦老</span></li>
        <li><span>我为</span></li>
        <li><span>长者</span></li>
        <li><span>续一秒</span></li>
    </ul>
</section>
    <!-- 欧尼酱功能, 谁用谁知道 -->
    
    <header class="navbar navbar-inverse" id="gal-header">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed"
                    data-toggle="collapse" data-target=".bs-navbar-collapse"
                    aria-expanded="false">
                <span class="fa fa-lg fa-reorder"></span>
            </button>
            <a href="https://yihuishou.gitee.io">
                
                <style>
                    #gal-header .navbar-brand {
                        height: 54px;
                        line-height: 24px;
                        font-size: 28px;
                        opacity: 1;
                        background-color: rgba(0,0,0,0);
                        text-shadow: 0 0 5px #fff,0 0 10px #fff,0 0 15px #fff,0 0 20px #228DFF,0 0 35px #228DFF,0 0 40px #228DFF,0 0 50px #228DFF,0 0 75px #228DFF;
                    }
                </style>
                <!-- 这里使用文字(navbar_text or config.title) -->
                <div class="navbar-brand">骑士の物语</div>
                
            </a>
        </div>
        <div class="collapse navbar-collapse bs-navbar-collapse">
            <ul class="nav navbar-nav" id="menu-gal">
                
                
                <li class="">
                    <a href="/">
                        <i class="fa fa-home"></i>首页
                    </a>
                </li>
                
                
                
                <li class="">
                    <a href="/archives">
                        <i class="fa fa-archive"></i>归档
                    </a>
                </li>
                
                
            </ul>
        </div>
    </div>
</header>
    <div id="gal-body">
        <div class="container">
            <div class="row">
                <div class="col-md-8 gal-right" id="mainstay">
                    
<article class="article well article-body" id="article">
    <div class="breadcrumb">
        <i class="fa fa-home"></i>
        <a href="https://yihuishou.gitee.io">骑士の物语</a>
        >
        <span>跟上Java8 简捷的文件</span>
    </div>
    <!-- 大型设备详细文章 -->
    <div class="hidden-xs">
        <div class="title-article">
            <h1>
                <a href="/2019/01/15/2862273391/">跟上Java8 简捷的文件</a>
            </h1>
        </div>
        <div class="tag-article">
            
            <span class="label label-gal">
                <i class="fa fa-tags"></i>
                
                <a href="/tags/Java/">Java</a>
                
            </span>
            
            <span class="label label-gal">
                <i class="fa fa-calendar"></i> 2019-01-15
            </span>
            
        </div>
    </div>
    <!-- 小型设备详细文章 -->
    <div class="visible-xs">
        <center>
            <div class="title-article">
                <h4>
                    <a href="/2019/01/15/2862273391/">跟上Java8 简捷的文件</a>
                </h4>
            </div>
            <p>
                <i class="fa fa-calendar"></i> 2019-01-15
            </p>
            <p>
                
                <i class="fa fa-tags"></i>
                
                <a href="/tags/Java/">Java</a>
                
                
                
            </p>
        </center>
    </div>
    <div class="content-article">
        <p>//以当前路径作为Path对象<br>Path p = Paths.get(“.”);<br>//使用传入的字符串返回一个Path对象<br>Path p2 = Paths.get(“D”,”ReviewIO”,”URL”);<br>//对应的路径<br>System.out.println(“p对象的对应路径：” + p.toString());<br>System.out.println(“p2对象的对应路径：” + p2.toString());<br>//路径数量是以路径名的数量作为标准<br>System.out.println(“p路径数量：” + p.getNameCount());<br>System.out.println(“p2路径数量：” + p2.getNameCount());<br>//获取绝对路径<br>System.out.println(“p绝对路径：” + p.toAbsolutePath());<br>System.out.println(“p2绝对路径：” + p2.toAbsolutePath());<br>//获取父路径<br>System.out.println(“p父路径：”  + p.getParent());<br>System.out.println(“p2父路径：” + p2.getParent());<br>//获取p2对象的文件名或者文件目录名<br>System.out.println(p2.getFileName());<br>//通过Path对象返回一个分隔符对象<br>Spliterator<path> split = p2.spliterator();</path></p>
<p>Paths类获取文件或文件目录路径可以使用采用多个字符串形式，也可以使用Path.get(D:\ReviewIO\URL)这种形式。返回的Path对象完全可以代替File类用于文件IO操作。</p>
<p>Files类<br>Files完成文件复制的方法，方法很简单。<br>Path source = Paths.get(“F:”,”Java经典练习题.pdf”);<br>Path dest = Paths.get(“F:”,”files.txt”);<br>File f = new File(“F:\ok.pdf”);<br>f.createNewFile();//如果f对象对应路径不存在就创建一个。<br>System.out.println(“source对象的文件路径：” + source);<br>//复制文件<br>Files.copy(source, new FileOutputStream(f));</p>
<p>Files完成写入文件的方法<br>//写入内容到文件<br>ArrayList<string> as = new ArrayList&lt;&gt;();<br>as.add(“A”);<br>as.add(“B”);<br>as.add(“C”);<br>Files.write(dest, as, Charset.forName(“GBK”));<br>实例说明：个人觉得用起来不怎么方便。方法参数很多，尤其是Iterable&lt;? extends CharSequence&gt;参数，Iterable是个顶级接口，实现类几乎都是集合类，并且限制了类型通配符上限是CharSequence，这意味着要使用泛型为字符类型的集合类作为数据写入指定文件中，很麻烦。<br>如果只是简单写入内容到文件中，建议使用重定向标准输出流，然后使用打印流写入，简单粗暴。<br>使用Files类读取文件内容就不介绍了，个人觉得除了文件复制比较简洁通用，其他两个方法个人认为使用IO流或者NIO流比较方便一点。剩下来会介绍一些Files类的方法。<br>public static void main(String[] args) throws IOException  {<br>Path source = Paths.get(“F:”,”Java经典练习题.pdf”);<br>/** 返回值为boolean的操作方法样例 */<br>System.out.println(Files.isHidden(source));//文件是否隐藏<br>System.out.println(Files.isExecutable(source));//文件是否可执行<br>System.out.println(Files.isWritable(source));//文件是否可写<br>//获取Paths对象对应的文件路径的文件储存<br>FileStore f  = Files.getFileStore(Paths.get(“F:”));<br>FileStore e = Files.getFileStore(Paths.get(“E:”));<br>System.out.println(“F盘的总大小” + f.getTotalSpace());<br>System.out.println(“F盘的可用大小” + f.getUsableSpace());<br>System.out.println(“F盘的未分配空间” + f.getUnallocatedSpace());</string></p>
<p>}</p>
<p>除了以上的方法之外，Files类还提供遍历文件和目录、监控文件变化、读取和设置文件权限、查看文件属性的方法，功能十分强大。</p>
<p>Path 与 Paths</p>
<p>java.nio.file.Path接口代表一个平台无关的平台路径，描述了目 录结构中文件的位置</p>
<p>Paths 提供的 get() 方法用来获取 Path 对象：</p>
<p>Path     get(String first, String … more) : 用于将多个字符串串连成路径</p>
<p>Path 常用方法：</p>
<p>boolean  endsWith(String path) : 判断是否以 path 路径结束</p>
<p>boolean startsWith(String path) :判断是否以 path 路径开始<br>boolean isAbsolute() : 判断是否是绝对路径</p>
<p>Path getFileName() : 返回与调用Path 对象关联的文件名<br>Path getName(int idx) : 返回的指定索引位置 idx 的路径名称</p>
<p>int getNameCount()  : 返回 Path 根目录后面元素的数量<br>Path getParent() ：返回 Path 对象包含整个路径，不包含 Path 对象指定的文件路径</p>
<p>Path getRoot() ：返回调用 Path 对象的根路径</p>
<p>Path resolve(Path p) : 将相对路径解析为绝对路径</p>
<p>Path   toAbsolutePath() : 作为绝对路径返回调用 Path 对象</p>
<p>String toString() ： 返回调用 Path 对象的字符串表示形式</p>
<ol>
<li>Files 类</li>
</ol>
<p>java.nio.file.Files 用于操作文件或目录的工具类。</p>
<p>Files 常用方法：</p>
<p>Path  copy(Path src,Path dest, CopyOption … how) : 文件的复制<br>Path  createDirectory(Path path,FileAttribute&lt;?&gt; … attr) : 创建一个目录</p>
<p>Path   createFile(Path path,FileAttribute&lt;?&gt; … arr) : 创建一个文件<br>void delete(Path path) : 删除一个文件</p>
<p>Pathmove(Path src, Path dest, CopyOption…how) : 将 src 移动到 dest 位置<br>long size(Pathpath) : 返回 path 指定文件的大小Files 类<br>boolean exists(Path path,LinkOption … opts) : 判断文件是否存在<br>boolean isDirectory(Path path, LinkOption …opts) : 判断是否是目录<br>boolean isExecutable(Path path) : 判断是否是可执行文件</p>
<p>booleanisHidden(Path path) : 判断是否是隐藏文件<br>boolean isReadable(Path path) : 判断文件是否可读<br>boolean isWritable(Path path) : 判断文件是否可写</p>
<p>boolean notExists(Path path,LinkOption … opts) : 判断文件是否不存在<br>public static  A  <a extends basicfileattributes>   readAttributes(Path path,Class<a> type,LinkOption… options)  :</a></a></p>
<p>获取与 path指定的文件相关联的属性 。<br>Files 常用方法： 用于操作内容</p>
<p>SeekableByteChannel newByteChannel(Path  path, OpenOption…how) : 获取与指定文件的连接， how 指定打开方式。<br>DirectoryStream newDirectoryStream(Path path) : 打开 path 指定的目录</p>
<p>InputStream newInputStream(Path  path, OpenOption…how): 获取 InputStream 对象</p>
<p>OutputStream newOutputStream(Path path, OpenOption…how) : 获取 OutputStream 对象自动 资源管理</p>

    </div>
</article>


                </div>
                <aside class="col-md-4 gal-left" id="sidebar">
    <!-- 此为sidebar的搜索框, 非搜索结果页面 -->
<aside id="sidebar-search">
    <div class="search hidden-xs" data-aos="fade-up" data-aos-duration="2000">
        <form class="form-inline clearfix" id="search-form" method="get"
              action="/search/index.html">
            <input type="text" name="s" class="form-control" id="searchInput" placeholder="搜索文章~" autocomplete="off">
            <button class="btn btn-danger btn-gal" type="submit">
                <i class="fa fa-search"></i>
            </button>
        </form>
    </div>
</aside>
    <aside id="sidebar-author">
    <div class="panel panel-gal" data-aos="flip-right" data-aos-duration="3000">
        <div class="panel-heading" style="text-align: center">
            <i class="fa fa-quote-left"></i>
            挥手の骑士
            <i class="fa fa-quote-right"></i>
        </div>
        <div class="author-panel text-center">
            <img src="/imgs/avatar.jpg" width="140" height="140"
                 alt="个人头像" class="author-image">
            <p class="author-description"></p>
        </div>
    </div>
</aside>
    
    <!-- 要配置好leancloud才能开启此小工具 -->
    
    
    <aside id="sidebar-recent_posts">
    <div class="panel panel-gal recent hidden-xs" data-aos="fade-up" data-aos-duration="2000">
        <div class="panel-heading">
            <i class="fa fa-refresh"></i>
            近期文章
            <i class="fa fa-times-circle panel-remove"></i>
            <i class="fa fa-chevron-circle-up panel-toggle"></i>
        </div>
        <ul class="list-group list-group-flush">
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2020/08/18/55226946/">agent v3.2.1 插件激活码</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2020/07/22/2412014068/">干掉 CMS 未来属于 ZGC</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2020/07/21/4075219928/">OpenJDK 和 OracleJDK 的抉择</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2020/07/20/368594680/">Flutter 音乐播放器开发之路（一）</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2020/07/15/3650854255/">XaaS 到底是什么？</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2020/07/15/4036766117/">让 Windows 10 开机自动登录</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2020/07/14/466733536/">给 Flutter 项目初始化构建提个速</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2020/06/12/4125727764/">JavaScript 中 Splice 函数与数组塌陷</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2020/06/12/1586694155/">在 Java 中缩写 Lambda 表达式</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2020/06/04/2276828982/">博客文章规范</a>
                </span>
            </li>
            
        </ul>
    </div>
</aside>
    
    
    <aside id="sidebar-rand_posts">
    <div class="panel panel-gal recent hidden-xs" data-aos="fade-up" data-aos-duration="2000">
        <div class="panel-heading">
            <i class="fa fa-refresh"></i>
            随机文章
            <i class="fa fa-times-circle panel-remove"></i>
            <i class="fa fa-chevron-circle-up panel-toggle"></i>
        </div>
        <ul class="list-group list-group-flush">
            
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/05/18/450415382/">CSS 中 link 与 @import 的区别</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/05/28/1395599601/">Four pillars for US hegemony</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/06/04/2575550749/">Git 提交消息模板规范</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/01/09/2697897267/">Java 8 中的模板字符串</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/05/24/1333242850/">RESTFUL API 中的那些事</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/08/20/3328494696/">Vue-Router 看这一篇就够了</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/05/18/2028463303/">前端规范 JS</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2017/09/29/2754764057/">喵喵颜文字</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2019/04/03/1811262184/">用于分析问题的 SMART 原则</a>
                </span>
            </li>
            
            <li class="list-group-item">
                <span class="post-title">
                    <a href="/2018/09/01/3165008964/">跟上Java8 时间的魔术</a>
                </span>
            </li>
            
        </ul>
    </div>
</aside>
    
    
    <aside id="gal-sets">
        <div class="panel panel-gal hidden-xs" data-aos="fade-up" data-aos-duration="2000">
            <ul class="nav nav-pills pills-gal">

                
                <li>
                    <a href="/2019/01/15/2862273391/index.html#sidebar-tags" data-toggle="tab" id="tags-tab">热门标签</a>
                </li>
                
                
                <li>
                    <a href="/2019/01/15/2862273391/index.html#sidebar-friend-links" data-toggle="tab" id="friend-links-tab">友情链接</a>
                </li>
                
                
                <li>
                    <a href="/2019/01/15/2862273391/index.html#sidebar-links" data-toggle="tab" id="links-tab">个人链接</a>
                </li>
                
            </ul>
            <div class="tab-content">
                
                <div class="cloud-tags tab-pane nav bs-sidenav fade" id="sidebar-tags">
    
    <a href="/tags/SpringSecurity/" style="font-size: 15.63424598456539px;" class="tag-cloud-link">SpringSecurity</a>
    
    <a href="/tags/Xml/" style="font-size: 10.206812192178031px;" class="tag-cloud-link">Xml</a>
    
    <a href="/tags/随笔/" style="font-size: 18.639375354287978px;" class="tag-cloud-link">随笔</a>
    
    <a href="/tags/大前端/" style="font-size: 19.323468546303058px;" class="tag-cloud-link">大前端</a>
    
    <a href="/tags/Dart/" style="font-size: 8.748855750466054px;" class="tag-cloud-link">Dart</a>
    
    <a href="/tags/Flutter/" style="font-size: 16.873367207930578px;" class="tag-cloud-link">Flutter</a>
    
    <a href="/tags/Go/" style="font-size: 17.954709628074312px;" class="tag-cloud-link">Go</a>
    
    <a href="/tags/IDEA/" style="font-size: 13.180515808514851px;" class="tag-cloud-link">IDEA</a>
    
    <a href="/tags/Java/" style="font-size: 11.323903539374523px;" class="tag-cloud-link">Java</a>
    
    <a href="/tags/JavaScript/" style="font-size: 15.389080586690685px;" class="tag-cloud-link">JavaScript</a>
    
    <a href="/tags/Mysql/" style="font-size: 15.82389854062722px;" class="tag-cloud-link">Mysql</a>
    
    <a href="/tags/Oracle/" style="font-size: 16.37016516469649px;" class="tag-cloud-link">Oracle</a>
    
    <a href="/tags/Photoshop/" style="font-size: 16.031022663272708px;" class="tag-cloud-link">Photoshop</a>
    
    <a href="/tags/RPG-Maker-MV/" style="font-size: 12.264395135856386px;" class="tag-cloud-link">RPG Maker MV</a>
    
    <a href="/tags/Restful/" style="font-size: 12.316435045128651px;" class="tag-cloud-link">Restful</a>
    
    <a href="/tags/Redis/" style="font-size: 8.309839091690016px;" class="tag-cloud-link">Redis</a>
    
    <a href="/tags/SQL/" style="font-size: 13.899176340437599px;" class="tag-cloud-link">SQL</a>
    
    <a href="/tags/SpringBoot/" style="font-size: 10.954833412341006px;" class="tag-cloud-link">SpringBoot</a>
    
    <a href="/tags/Swagger/" style="font-size: 8.971477991415245px;" class="tag-cloud-link">Swagger</a>
    
    <a href="/tags/Windows/" style="font-size: 19.910040618714646px;" class="tag-cloud-link">Windows</a>
    
    <a href="/tags/Deepleanring/" style="font-size: 15.41993921755595px;" class="tag-cloud-link">Deepleanring</a>
    
    <a href="/tags/Vue/" style="font-size: 17.373670561158747px;" class="tag-cloud-link">Vue</a>
    
    <a href="/tags/Docker/" style="font-size: 15.583221393379237px;" class="tag-cloud-link">Docker</a>
    
    <a href="/tags/Hexo/" style="font-size: 8.989465403252105px;" class="tag-cloud-link">Hexo</a>
    
    <a href="/tags/VsCode/" style="font-size: 14.659430355576806px;" class="tag-cloud-link">VsCode</a>
    
    <a href="/tags/SpringCloud/" style="font-size: 13.385489340373358px;" class="tag-cloud-link">SpringCloud</a>
    
</div>
                
                
                <div class="friend-links tab-pane nav bs-sidenav fade" id="sidebar-friend-links">
    
    <li>
        <a href="http://noodlefighter.com" target="_blank">虾包</a>
    </li>
    
    <li>
        <a href="https://loli.la" target="_blank">超级叫了</a>
    </li>
    
    <li>
        <a href="https://konata9.github.io" target="_blank">吃土的小此方</a>
    </li>
    
</div>
                
                
                <div class="links tab-pane nav bs-sidenav fade" id="sidebar-links">
    
    <li>
        <a href="https://github.com/yihuishou" target="_blank">Github</a>
    </li>
    
    <li>
        <a href="https://gite.com/yihuishou" target="_blank">码云</a>
    </li>
    
    <li>
        <a href="https://www.zhihu.com/people/hei-yi-tian-shi-48" target="_blank">知乎</a>
    </li>
    
</div>
                
            </div>
        </div>
    </aside>
    
</aside>
            </div>
        </div>
    </div>
    <footer id="gal-footer">
    <div class="container">
        Copyright © 2018 挥手の骑士 Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>.&nbsp;Theme by <a href="https://github.com/ZEROKISEKI" target="_blank">AONOSORA</a>
    </div>
</footer>

<!-- 回到顶端 -->
<div id="gal-gotop">
    <i class="fa fa-angle-up"></i>
</div>
</body>
<script src="/js/activate-power-mode.js"></script>
<script>

    // 配置highslide
	hs.graphicsDir = '/js/highslide/graphics/'
    hs.outlineType = "rounded-white";
    hs.dimmingOpacity = 0.8;
    hs.outlineWhileAnimating = true;
    hs.showCredits = false;
    hs.captionEval = "this.thumb.alt";
    hs.numberPosition = "caption";
    hs.align = "center";
    hs.transitions = ["expand", "crossfade"];
    hs.lang.number = '共%2张图, 当前是第%1张';
    hs.addSlideshow({
      interval: 5000,
      repeat: true,
      useControls: true,
      fixedControls: "fit",
      overlayOptions: {
        opacity: 0.75,
        position: "bottom center",
        hideOnMouseOut: true
      }
    })

    // 初始化aos
    AOS.init({
      duration: 1000,
      delay: 0,
      easing: 'ease-out-back'
    });

</script>
<script>
	POWERMODE.colorful = 'true';    // make power mode colorful
	POWERMODE.shake = 'true';       // turn off shake
	// TODO 这里根据具体情况修改
	document.body.addEventListener('input', POWERMODE);
</script>
<script>
    window.slideConfig = {
      prefix: '/imgs/slide/background',
      ext: 'jpg',
      maxCount: '6'
    }
</script>
<script src="/js/hs.js"></script>
<script src="/js/blog.js"></script>



</html>